repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding stuff from my old computer
[andmenj-acm.git]
/
108 - Maximum sum
/
generateInput.py
blob
6af15d6191bd2cde9072f19787c3b0304045ec42
1
import
math
2
3
archivo
=
open
(
"in.txt"
,
"w"
)
4
lineas
= [
"100
\n
"
]
5
for
i
in
range
(
1
,
101
):
6
linea
=
""
7
for
j
in
range
(
1
,
101
):
8
linea
=
linea
+
" 1"
9
linea
=
linea
+
"
\n
"
10
lineas
.
append
(
linea
)
11
12
archivo
.
writelines
(
lineas
)
13
archivo
.
close
()